package com.wash.shoes.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 物品配饰表
 *
 * CREATE TABLE `os_accessories` (
 *   `id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
 *   `order_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '订单id',
 *   `type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '配饰类型',
 *  `biz_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '哪一件物品的配件',
 *   `wash_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '水洗码',
 *   `url` varchar(400) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '配饰的图片',
 *   `detail_url` varchar(4000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '商品详情的图片',
 *
 *
 *
 *   `status` varchar(50) NOT NULL DEFAULT '0' COMMENT '状态0删除  1上架  2下架',
 *
 *   `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
 *   `extend_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '扩展字段',
 *   `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
 *   `create_time` datetime DEFAULT NULL COMMENT '创建时间',
 *   `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
 *   `update_time` datetime DEFAULT NULL COMMENT '更新时间',
 *   PRIMARY KEY (`id`) USING BTREE,
 *   KEY `idx_shop_id` (`shop_id`) USING BTREE
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='配饰表';
 *
 *
 *
 *
 *
 */
@Data
@TableName("os_accessories")
public class AccessoriesPo extends BasePersist{

    @TableId
    private String id;
    /**
     * 对应哪一件物品-->对应shoeId
     */
    @TableField("biz_id")
    private String bizId;
    /**
     * 订单id
     */
    @TableField("order_id")
    private String orderId;
    /**
     * 配饰类型
     */
    private String type;
    /**
     * 水洗码
     */
    @TableField("wash_code")
    private String washCode;
    /**
     * 配饰图片
     */
    private String url;
    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态 是否质检 0 未质检 1已质检")
    private int status;

    /**
     *扩展字段
     */
    @TableField("extend_info")
    private String extendInfo;
}
